package com.pyb.module.ogin;

import com.pyb.java.cache.bean.UserInfoBean;
import com.pyb.java.network.ResponseEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface LoginApi {

    /**
     * 一键登录
     * v4/api/auth/mobilelogin
     */
    @POST("v4/api/auth/mobilelogin")
    Observable<ResponseEntity<UserInfoBean>> onelogin(@Body RequestBody body);
}
